//
//  NSArray+Convert.m
//  Object-C Category
//
//  Created by quentin on 15/9/17.
//  Copyright (c) 2015年 QuentinLabs. All rights reserved.
//

#import "NSArray+Convert.h"

@implementation NSArray(Convert)

+(NSMutableArray* ) arrayWithNumber:(int)number
{
    NSMutableArray* numberArray = [[NSMutableArray alloc] init];
    while (number) {
        int last = number %10;
        number /=10;
        [numberArray addObject:[NSNumber numberWithInt:last]];
    }
    return numberArray;
}
@end
